﻿
namespace MyFurion.Model
{
    /// <summary>
    /// 错误日志
    /// </summary>
    [SugarTable("Sys_ErrorLog")]
    [Tenant(0)]
    public class ErrorLog:BaseEntity
    {
        /// <summary>
        /// 类名
        /// </summary>
        [SugarColumn(Length = 100, IsNullable = true, ColumnDescription = "类名")]
        public string ClassName { get; set; }
        /// <summary>
        /// 方法名
        /// </summary>
        [SugarColumn(Length = 100, IsNullable = true, ColumnDescription = "方法名")]
        public string MethodName { get; set; }
        /// <summary>
        /// 异常名称
        /// </summary>
        [SugarColumn(IsNullable = true, ColumnDataType = CommonConst.DB_STRING_MAX, ColumnDescription = "异常名称")]
        public string ExceptionName { get; set; }
        /// <summary>
        /// 异常信息
        /// </summary>
        [SugarColumn(IsNullable = true, ColumnDataType = CommonConst.DB_STRING_MAX, ColumnDescription = "异常信息")]
        public string ExceptionMsg { get; set; }
        /// <summary>
        /// 异常源
        /// </summary>
        [SugarColumn(IsNullable = true, ColumnDataType = CommonConst.DB_STRING_MAX, ColumnDescription = "异常源")]
        public string ExceptionSource { get; set; }
        /// <summary>
        /// 堆栈信息
        /// </summary>
        [SugarColumn(IsNullable = true, ColumnDataType = CommonConst.DB_STRING_MAX, ColumnDescription = "堆栈信息")]
        public string StackTrace { get; set; }
        /// <summary>
        /// 参数对象
        /// </summary>
        [SugarColumn(IsNullable = true, ColumnDataType = CommonConst.DB_STRING_MAX, ColumnDescription = "参数对象")]
        public string ParamsObj { get; set; }
    }
}
